<?php
header('content-type:text/html;charset=UTF8');

session_start();

if(!isset($_SESSION['userId'])){
	header('Refresh:2;url=login.php');
	die("<h2 style='color:red; margin:50px;'>请先登录</h2>");
}
